package com.agilespirit.domain;

public class Application {
  
  private Integer id;
  
  /* Settings */
  private String name;
  private Environment environment;
  private Platform platform;
  private Country country;
  private String testPage;
  
  /* Server */
  private String host;
  private Integer port;
  private String username;
  private String password;
  
  public static Application create() {
    return new Application();
  }

  public static Application create(Integer id, String name, Environment environment, Platform platform, Country country) {
    Application entity = new Application();
    entity.id = id;
    entity.name = name;
    entity.environment = environment;
    entity.platform = platform;
    entity.country = country;
    return entity;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Environment getEnvironment() {
    return environment;
  }

  public void setEnvironment(Environment environment) {
    this.environment = environment;
  }

  public Platform getPlatform() {
    return platform;
  }

  public void setPlatform(Platform platform) {
    this.platform = platform;
  }

  public Country getCountry() {
    return country;
  }

  public void setCountry(Country country) {
    this.country = country;
  }

  public String getTestPage() {
    return testPage;
  }

  public void setTestPage(String testPage) {
    this.testPage = testPage;
  }

  public String getHost() {
    return host;
  }

  public void setHost(String host) {
    this.host = host;
  }

  public Integer getPort() {
    return port;
  }

  public void setPort(Integer port) {
    this.port = port;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }
  
}
